<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content=
    "application/xhtml+xml; charset=iso-8859-1" />
    <title>
      libmnl-1.0.4
    </title>
    <link rel="stylesheet" type="text/css" href="../stylesheets/lfs.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.79.1" />
    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
    "text/css" media="print" />
  </head>
  <body class="blfs" id="blfs-9.1">
    <div class="navheader">
      <h4>
        Beyond Linux<sup>�</sup> From Scratch <span class="phrase">(System
        V</span> Edition) - Version 9.1
      </h4>
      <h3>
        Chapter&nbsp;17.&nbsp;Networking Libraries
      </h3>
      <ul>
        <li class="prev">
          <a accesskey="p" href="libevent.html" title=
          "libevent-2.1.11">Prev</a>
          <p>
            libevent-2.1.11
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="libnftnl.html" title=
          "libnftnl-1.1.5">Next</a>
          <p>
            libnftnl-1.1.5
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="netlibs.html" title=
          "Chapter&nbsp;17.&nbsp;Networking Libraries">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
    <div class="sect1" lang="en" xml:lang="en">
      <h1 class="sect1">
        <a id="libmnl" name="libmnl"></a>libmnl-1.0.4
      </h1>
      <div class="package" lang="en" xml:lang="en">
        <h2 class="sect2">
          Introduction to libmnl
        </h2>
        <p>
          The <span class="application">libmnl</span> library provides a
          minimalistic user-space library oriented to Netlink developers.
          There are a lot of common tasks in parsing, validating,
          constructing of both the Netlink header and TLVs that are
          repetitive and easy to get wrong. This library aims to provide
          simple helpers that allows you to re-use code and to avoid
          re-inventing the wheel.
        </p>
        <p>
          This package is known to build and work properly using an LFS-9.1
          platform.
        </p>
        <h3>
          Package Information
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Download (HTTP): <a class="ulink" href=
                "https://netfilter.org/projects/libmnl/files/libmnl-1.0.4.tar.bz2">
                https://netfilter.org/projects/libmnl/files/libmnl-1.0.4.tar.bz2</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download MD5 sum: be9b4b5328c6da1bda565ac5dffadb2d
              </p>
            </li>
            <li class="listitem">
              <p>
                Download size: 296 KB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated disk space required: 2.9 MB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated build time: less than 0.1 SBU
              </p>
            </li>
          </ul>
        </div>
        <p class="usernotes">
          User Notes: <a class="ulink" href=
          "http://wiki.linuxfromscratch.org/blfs/wiki/libmnl">http://wiki.linuxfromscratch.org/blfs/wiki/libmnl</a>
        </p>
      </div>
      <div class="installation" lang="en" xml:lang="en">
        <h2 class="sect2">
          Installation of libmnl
        </h2>
        <p>
          Install <span class="application">libmnl</span> by running the
          following commands:
        </p>
        <pre class="userinput">
<kbd class="command">./configure --prefix=/usr &amp;&amp;
make</kbd>
</pre>
        <p>
          This package does not come with a test suite.
        </p>
        <p>
          Now, as the <code class="systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class="command">make install                 &amp;&amp;
mv /usr/lib/libmnl.so.* /lib &amp;&amp;
ln -sfv ../../lib/$(readlink /usr/lib/libmnl.so) /usr/lib/libmnl.so</kbd>
</pre>
      </div>
      <div class="commands" lang="en" xml:lang="en">
        <h2 class="sect2">
          Command Explanations
        </h2>
        <p>
          <span class="command"><strong>mv -v /usr/lib/libmnl.so.*
          ...</strong></span>: Move shared libraries into /lib so they are
          available before /usr is mounted.
        </p>
      </div>
      <div class="content" lang="en" xml:lang="en">
        <h2 class="sect2">
          Contents
        </h2>
        <div class="segmentedlist">
          <div class="seglistitem">
            <div class="seg">
              <strong class="segtitle">Installed Library:</strong>
              <span class="segbody">libmnl.so</span>
            </div>
          </div>
        </div>
        <div class="variablelist">
          <h3>
            Short Descriptions
          </h3>
          <table border="0" class="variablelist">
            <colgroup>
              <col align="left" valign="top" />
              <col />
            </colgroup>
            <tbody>
              <tr>
                <td>
                  <p>
                    <a id="libmnl-lib" name="libmnl-lib"></a><span class=
                    "term"><code class="filename">libmnl.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    provides functions for parsing, validating, constructing
                    of both the Netlink header and TLVs.
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
      <p class="updated">
        Last updated on 2020-02-17 12:12:55 -0800
      </p>
    </div>
    <div class="navfooter">
      <ul>
        <li class="prev">
          <a accesskey="p" href="libevent.html" title=
          "libevent-2.1.11">Prev</a>
          <p>
            libevent-2.1.11
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="libnftnl.html" title=
          "libnftnl-1.1.5">Next</a>
          <p>
            libnftnl-1.1.5
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="netlibs.html" title=
          "Chapter&nbsp;17.&nbsp;Networking Libraries">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
  </body>
</html>
